package com.xyrl.project.manager;

import com.xyrl.third.aliyun.configuration.EnableMobile;
import com.xyrl.third.aliyun.configuration.EnableMsg;
import com.xyrl.third.aliyun.configuration.EnableSingleCall;
import com.xyrl.third.baidu.configuration.EnableBaiduAi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages = {"com.xyrl.common.*", "com.xyrl.project.common.*", "com.xyrl.project.manager.*"})
@MapperScan(value = {"com.xyrl.project.common.*.dao", "com.xyrl.project.manager.*.dao"})
@EnableAsync
@EnableMsg
@EnableSingleCall
@EnableMobile
@EnableBaiduAi
public class XyrlProjectManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XyrlProjectManagerApplication.class, args);
    }
}
